package com.bjpowernode.boss.mvc.models.form.product;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class PayProductForm {
    @NotNull(message = "支付产品编码不能空")
    @Size(min = 5,max = 30,message = "支付产品编码字符数量在{min}-{max}")
    private String productCode;

    @NotNull(message = "支付产品名称不能空")
    @Size(min = 2,max = 50,message = "支付名称字符数量在{min}-{max}")
    private String productName;
}
